@import './reset.scss';

.login-container {
  display: flex;
  align-items: stretch;
  height: 100vh;
  background-color: #fff;
  .logo {
    flex: 3;
    background: rgba(38, 72, 176) url(../images/login-bg-e4ea539c.svg) no-repeat
      center / cover;
    border-top-right-radius: 60px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    padding: 0 100px;
    p {
      color: #fff;
      font-size: 18px;
      margin-top: 20px;
      width: 300px;
      text-align: center;
    }
  }
  .form {
    flex: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 100px;
    .login {
      width: 100%;
    }
    .el-card {
      border: none;
      padding: 0;
    }
    h1 {
      font-size: 24px;
      margin-bottom: 30px;
    }
    .el-form {
      margin-top: 15px;
    }
    .el-form-item {
      text-align: center;
    }
    .el-input {
      // width: 350px;
      line-height: 40px;
      position: relative;
      font-size: 14px;
      height: 44px;
    }

    .agreeCk {
      display: flex;
      position: relative;
      margin-bottom: 35px;
    }
    .el-checkbox {
      color: #606266;
      margin-top: 5px;
    }

    .agreeMsg {
      margin-left: 5px;
    }

    .password {
      position: absolute;
      right: 10px;
      cursor: pointer;
      z-index: 99;
    }
  }
}

.el-tabs--border-card {
  width: 360px;
  background: #fff;
  border: 1px solid #dcdfe6;
  -webkit-box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.12),
    0 0 6px 0 rgba(0, 0, 0, 0.04);
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.12), 0 0 6px 0 rgba(0, 0, 0, 0.04);

  .line {
    position: absolute;
    bottom: 10px;
    left: 240px;
    transition: all 0.3s;
    min-width: 60px;
    height: 2px;
    border-bottom: 2px solid #409eff;
  }

  .el-tabs__content {
    min-height: 295px;
  }

  .el-tabs__item {
    position: static;
    height: 50px !important;
    transition: none !important;
    flex: 1;
    text-align: center;
  }

  .active {
    color: #409eff !important;
  }

  .el-tab-pane {
    display: none;
  }

  .code {
    padding-top: 50px;
  }

  .show {
    display: block !important;
  }
  .el-tab-pane {
    text-align: center;

    img {
      border: 1px solid #f4f4f4;
      padding: 8px;
      width: 155px;
    }
  }
}

.el-tabs__header {
  display: flex;
  overflow: hidden;
  margin-bottom: -1px;
  position: relative;

  &::before {
    content: '|';
    position: absolute;
    top: 50%;
    color: #ccc;
    left: 50%;
    transform: translate(-50%, -80%);
  }
}

.tips {
  text-align: left;
  color: #f56c6c;
}
